home *** CD-ROM | disk | FTP | other *** search
- package Code.LIB.COMPONENTS
- {
- import Code.LIB._be548;
- import Code.LIB._ct751;
- import Code.LIB._oo505;
- import Code.LIB._tk11;
- import flash.display.Sprite;
-
- public class _gy596 extends _be548
- {
- public static const stOnn:int = 0;
-
- public static const stOff:int = 1;
-
- public var iButton:_ct751;
-
- private var iBitmapOnn:_oo505;
-
- private var aOnn:Class;
-
- private var iBitmapOff:_oo505;
-
- private var aOff:Class;
-
- private var state:int;
-
- private var iBitmap:_oo505;
-
- public function _gy596(param1:Class, param2:Class)
- {
- super();
- this.aOnn = param1;
- this.aOff = param2;
- _wy690();
- }
-
- public function get State() : int
- {
- return state;
- }
-
- public function _wy690() : void
- {
- this._ck569();
- if(iButton)
- {
- iButton._dx150();
- }
- iBitmap = new _oo505();
- iBitmapOnn = _tk11._ln87(new aOnn() as Sprite,0.6);
- iBitmapOff = _tk11._ln87(new aOff() as Sprite,0.6);
- iButton = new _ct751(null,null,false,30,30);
- addChild(iBitmap);
- addChild(iButton);
- State = State;
- }
-
- public function set State(param1:int) : void
- {
- state = param1;
- switch(state)
- {
- case stOnn:
- iBitmapOnn._vy822(iBitmap);
- break;
- case stOff:
- iBitmapOff._vy822(iBitmap);
- }
- }
- }
- }
-
-